<template>
  <div class="test">
      <Category :listData="foods"/>
      <Category :listData="games"/>
      <Category :listData="films"/>
      <Category>
          <h1 slot="slot1">这里测试slot1</h1>
          <h1 slot="slot2">这里测试slot2</h1>
      </Category>


    <Category title="游戏">
        <template scope="someValue">
            {{someValue}}
        </template>
    </Category>

  </div>
</template>

<script>
// import Category .....
export default {
    name: "Test",
    components: {},
    data(){
        return {
            foods: ['火锅','烧烤','小龙虾','牛排'],
            games: ['','',''],
            films: ['','',''], 
        }
    }
}
</script>

<style>

</style>